package Icontest.icontest;

import Icontest.icontest.iconlistener.Onclicktester;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Vibrator;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

public class icontest extends Activity{
    /** Called when the activity is first created. */
	
	public Button kissButton, fartButton, randomButton, pictureButton;
	private Onclicktester onclicktester;
	public ImageView imageView;
	public Vibrator vibrator;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        onclicktester = new Onclicktester(this);
        
        kissButton = (Button) findViewById(R.id.kiss_button);
        kissButton.setOnClickListener(onclicktester);

        fartButton = (Button) findViewById(R.id.fart_button);
        fartButton.setOnClickListener(onclicktester);
        
        randomButton = (Button) findViewById(R.id.random_button);
        randomButton.setOnClickListener(onclicktester);

        
        randomButton.setText("blab");


        vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
    }

}